<template>
    <div class="Home-search" @click="$router.push({path:'/SearchView'})">
        <div class="Search-Occupying">
            搜索
        </div>
        <!-- 右边图标 -->
        <div class="Home-IconRightBox">
            <div class="IconBox">
                <i class="iconfont icon-sousuo1"></i>
            </div>
        </div>
    </div>
</template>
<style lang="scss" scoped>
.Home-search {
    display: flex;
    height: 32px;
    align-items: center;
    border-radius: 16px;
    background: #f7f8fa;
    margin: 0 15px;

    .Search-Occupying {
        display: flex;
        flex: 1;
        color: #8a8a8a;
        font-size: 12px;
        text-indent: 12px;

        span {
            padding: 0 10px;
        }
    }

    .Home-IconRightBox {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 14.7%;
        .IconBox {
            i {
                font-size: 16px;
                color: #3dc3af;
            }
        }
    }
}
</style>